package com.aaa.service;

import com.aaa.entity.Product;
import com.aaa.util.DefaultMsg;

import java.util.List;

public interface ProductService {
    public List<Product> listAll();

    public DefaultMsg insert(Product product);

    public Product findByPid(Product product);

    public DefaultMsg update(Product product);

    public DefaultMsg delete(Product product);
}
